package usb;

public class Test01 {
    public static void main(String[] args) {
        boolean flag = true;
        int count = 0;
      for(int i=2;i<=100;i++){
          for(int j=2;j<i;j++){
              if(i%j==0){
                  flag=false;
                  break;
              }else {
                  flag=true;
              }
          }
          if(flag){
              System.out.print(i+"\t");
              count++;
              if (count % 5 == 0) {
                  System.out.println();
              }
          }
      }
    }
}
